﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TJDevHouse.Starcraft.Game
{
	public class PixelMapCoordinate : MapCoordinate
	{
		public PixelMapCoordinate(int x, int y) : base(x, y) { }

		public override PixelMapCoordinate GetPixelCoordinate()
		{
			return this;
		}

		public override WalkTileMapCoordinate GetWalkTileCoordinate()
		{
			return new WalkTileMapCoordinate(X / 8, Y / 8);
		}

		public override BuildTileMapCoordinate GetBuildTileCoordinate()
		{
			return new BuildTileMapCoordinate(X / 32, Y / 32);
		}
	}
}
